//引入react核心库
import React from "react";
//引入reactDOM
// import ReactDOM from "react-dom";

//react18版本不支持reactDOM了，使用creatRoot
import { createRoot } from 'react-dom/client';

//引入App组件
import App from './App'


//渲染App到界面
const container = document.getElementById('root');
const root = createRoot(container);
root.render(<App/>);